package org.dromara.customer.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 订单明细对象 ta_order_detail
 *
 * @author xiyin321
 * @date 2024-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ta_order_detail")
public class TaOrderDetail implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 订单ID
     */
    private Long ordersId;

    /**
     * 店铺id
     */
    private Long storeId;

    /**
     * 店铺名称
     */
    private String storeName;

    /**
     * 图片
     */
    private Long image;

    /**
     * 商品id/套餐id
     */
    private Long goodsId;

    /**
     * 商品名称/套餐名称
     */
    private String goodsName;

    /**
     * 已选列表
     */
    private String selected;

    /**
     * 数量
     */
    private int number;

    /**
     * 金额
     */
    private String amount;


}
